Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Remove RTLTextPlugin default #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

KiwiKilian
Copy link

@KiwiKilian KiwiKilian commented Nov 6, 2024

As discussed previously, I've removed the default value for the RTLTextPlugin which loaded from mapbox.com. This aligns more closely to the default behavior of the maplib, forcing the user to manually set such url. The prop now also accepts an object, to allow full configuration of the setRTLTextPlugin call.

Fixes #7

BREAKING CHANGE: RTLTextPlugin must now be set manually as prop

BREAKING CHANGE: RTLTextPlugin must now be set manually as prop
@KiwiKilian KiwiKilian changed the title Remove RTLTextPlugin default Remove RTLTextPlugin default Nov 6, 2024
Copy link

@tordans tordans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Some suggestions inline.

docs/api-reference/map.md Show resolved Hide resolved
docs/upgrade-guide.md Outdated Show resolved Hide resolved
@KiwiKilian
Copy link
Author

@tordans Good points, thanks!

@Pessimistress
Copy link
Contributor

@KiwiKilian Would you mind reopening this against https://github.com/visgl/react-map-gl/tree/master/modules/react-maplibre ? Sorry I missed this during the move.

@KiwiKilian
Copy link
Author

Will do in the next days.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] Removing the default RTLTextPlugin
3 participants